<?php
class LaybyPayment extends AppModel {
	var $name = 'LaybyPayment';
	var $useTable = 'layby_payment';
	public $belongsTo = array (
			'PaymentType' => array (
					'className' => 'PointOfSale.PaymentType',
					'foreignKey' => 'payment_type_id',
					'conditions' => '',
					'fields' => '',
					'order' => ''
			),
			'Layby' => array (
					'className' => 'PointOfSale.Layby',
					'foreignKey' => 'layby_id',
					'conditions' => '',
					'fields' => '',
					'order' => ''
			),
	);
}